package com.itheima.test21;

import java.util.stream.Stream;

public class test01 {
    public static void main(String[] args) {
        Stream<String> original = Stream.of("Hello.java", "java编程思想.pdf", "IOS开发快速入门.pdf","stream.java","小葵花宝典.txt","如何学好java.txt");
                Stream<String> result = original.filter(s -> s.contains("java")).skip(1);
        System.out.println("count=" + result.count());
    }
}
